<?php
$custom_status = get_post_custom($post->ID);
$zon_status = $custom_status['zon_status'][0];
$zon_status_value = get_post_meta($post->ID, 'zon_status', true);
if($zon_status_value == "yes") {
	$zon_status_checked = 'checked="checked"';
} ?>
<div class="zon-onoffswitch">
	<input type="checkbox" name="zon_status" class="zon-onoffswitch-checkbox" id="zon_status" value="yes" <?php echo $zon_status_checked; ?> />
	<label class="zon-onoffswitch-label" for="zon_status">
		<div class="zon-onoffswitch-inner"></div>
		<div class="zon-onoffswitch-switch"></div>
	</label>
</div>